//
//  ReadModel.h
//  Lucky28
//
//  Created by zr on 2018/8/3.
//  Copyright © 2018年 zr. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ReadModel : NSObject

//图片地址
@property(nonatomic,copy) NSString * images;
//标题
@property(nonatomic,copy) NSString * title;
//查看状态 （是否已添加自选）
@property(nonatomic,copy) NSString * content;

@property(nonatomic,copy) NSString * read;


//KVC
+(instancetype)modelWithDictionary:(NSDictionary *)dic;

//访问网络
+(void)readWithType:(NSString *)type WithSucess:(void(^)(NSArray<ReadModel *> *array))sucessBlock error:(void(^)(void))errorBlock;

//搜索
+(void)searchWithKeywords:(NSString *)keywords WithSucess:(void(^)(NSArray<ReadModel *> *array))sucessBlock error:(void(^)(void))errorBlock;

@end
